<div class="mod-index"> 
    <div class="side-category"> 
        <ul class="categorylist"> 
            <li class="sub-item menu1"><a target="_blank" href="{{ url('/list') }}" class="category-a">全部商品分类</a> </li>
            @foreach($navlist as $key => $navs)
            <li class="sub-item menu{{ $key+2 }}">
                <a target="_blank" href="{{ url('/list', ['id'=>$navs['id']]) }}" class="category-a">{{ $navs['cate_name'] }}</a> 
                <div class="left-sub-list" style="display:none"> 
                    <div class="second-level-box">
                        @if(!empty($navs['child']))
                        @foreach($navs['child'] as $snavs)
                        <dl class="second-level"> 
                            <dt>
                            <a href="{{ url('/list', ['id'=>$snavs['id']]) }}" target="_blank">{{ $snavs['cate_name'] }}</a>
                            <i>&gt;</i> 
                            </dt>
                            <dd> 
                                @if(!empty($snavs['child']))
                                @foreach($snavs['child'] as $tnavs)
                                <a href="{{ url('/list', ['id'=>$tnavs['id']]) }}" target="_blank">{{ $tnavs['cate_name'] }}</a> 
                                @endforeach
                                @endif;
                            </dd>
                        </dl>
                        @endforeach
                        @endif
                    </div>
                </div>
            </li>
            @endforeach
        </ul>
    </div>
    <div class="mod-banner"> 
        <div class="banner-slide"> 
            <div class="slideBox"> 
                @foreach($slide as $k=>$s)
                @if($k == 0)
                <a class="slider-film" style="display:block" href="{{ $s->ads_url }}"> <img src="{{ asset($s->ads_img) }}" /> </a> 
                @else
                <a class="slider-film" href="{{ $s->ads_url }}" target="_blank"> <img data-original="{{ $s->ads_img }}" /> </a> 
                @endif
                @endforeach
            </div> 
            <a href="#" onclick="return false" class="slide-prev"></a> 
            <a href="#" onclick="return false" class="slide-next"></a> 
            <div class="slide-point"></div>
        </div>
    </div> 
</div>